<?php /* Smarty version Smarty-3.1.8, created on 2012-11-04 13:48:27
         compiled from "E:\www\teraco\plugins\menuproduct\menuproduct.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:1665096722b028749-90663107%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c82a542addfbbab10e18536f920b372fe21992a6' => 
    array (
      0 => 'E:\\www\\teraco\\plugins\\menuproduct\\menuproduct.temp.html',
      1 => 1346775608,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1665096722b028749-90663107',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'objMenus' => 0,
    'objMenu' => 0,
    'key' => 0,
    'id' => 0,
    'productcategory' => 0,
    'objCategory' => 0,
    'objSubNewsCategories' => 0,
    'objSubNewsCategorie' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5096722b133a69_87633137',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5096722b133a69_87633137')) {function content_5096722b133a69_87633137($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['objMenus']->value){?>
    <h1>Products</h1>
    <?php  $_smarty_tpl->tpl_vars['objMenu'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objMenu']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['objMenus']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['objMenu']->key => $_smarty_tpl->tpl_vars['objMenu']->value){
$_smarty_tpl->tpl_vars['objMenu']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['objMenu']->key;
?>
        <?php if (is_object($_smarty_tpl->tpl_vars['objMenu']->value)){?>
        <h2 style="padding-left:12px;">
            <a 
                href="<?php echo $_smarty_tpl->tpl_vars['objMenu']->value->getUrl('product');?>
" 
                rel="ddsubmenuside<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" 
                id="c<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
p" 
                <?php if ($_smarty_tpl->tpl_vars['objMenu']->value->getField('id')==$_smarty_tpl->tpl_vars['id']->value){?> 
                    class='active'
                <?php }?> 
                style="font-size: 13px;"
            >
                <?php echo $_smarty_tpl->tpl_vars['objMenu']->value->getFieldLang('name');?>

            </a>
        </h2>
            <?php if (is_object($_smarty_tpl->tpl_vars['productcategory']->value)&&is_object($_smarty_tpl->tpl_vars['objCategory']->value)){?>
            <?php $_smarty_tpl->tpl_vars['objSubNewsCategories'] = new Smarty_variable($_smarty_tpl->tpl_vars['productcategory']->value->getSubCategory($_smarty_tpl->tpl_vars['objMenu']->value->getField('id')), null, 0);?>
            <div id="pchilds" <?php if ($_smarty_tpl->tpl_vars['objMenu']->value->getField('id')==$_smarty_tpl->tpl_vars['id']->value||$_smarty_tpl->tpl_vars['objCategory']->value->getField('cid')==$_smarty_tpl->tpl_vars['objMenu']->value->getField('id')){?><?php }else{ ?>style="display: none;"<?php }?> class="innerlinks">
                <ul>
                    <?php  $_smarty_tpl->tpl_vars['objSubNewsCategorie'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objSubNewsCategorie']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objSubNewsCategories']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['objSubNewsCategorie']->key => $_smarty_tpl->tpl_vars['objSubNewsCategorie']->value){
$_smarty_tpl->tpl_vars['objSubNewsCategorie']->_loop = true;
?>
                        <?php if (is_object($_smarty_tpl->tpl_vars['objSubNewsCategorie']->value)){?>
                            <li>
                                <a 
                                    href="<?php echo $_smarty_tpl->tpl_vars['objSubNewsCategorie']->value->getUrl('productsub');?>
"
                                    <?php if ($_smarty_tpl->tpl_vars['objSubNewsCategorie']->value->getField('id')==$_smarty_tpl->tpl_vars['id']->value){?> 
                                        class='active'
                                    <?php }?> 
                                >
                                    <?php echo $_smarty_tpl->tpl_vars['objSubNewsCategorie']->value->getFieldLang('name');?>

                                </a>
                            </li>
                        <?php }?>
                    <?php } ?>
                </ul>
            </div>
            <?php }?>
        <?php }?>
    <?php } ?>
<?php }?><?php }} ?>